import { AudioMgr } from '../../core/module/audio/AudioMgr';
import { EventMgr } from '../../core/module/event/EventMgr';
import { ResMgr } from '../../core/module/res/ResMgr';
import { SceneMgr } from '../../core/module/scene/SceneMgr';
import { UIMgr } from '../../core/module/ui/UIMgr';
import { ProxyMgr } from '../../core/module/proxy/ProxyMgr';
import { ModelMgr } from '../manager/ModelMgr';
import { ToastMgr } from '../manager/ToastMgr';
import ConfigMgr from '../../core/module/config/ConfigMgr';
import { HotMgr } from '../../core/module/hot/HotMgr';
import { NetMgr } from '../manager/NetMgr';
import { HttpMgr } from '../../core/module/http/HttpMgr';
/**
 * app 类型能访问游戏全局内容
 */
class App {
    proxy: ProxyMgr;
    ui: UIMgr;
    event: EventMgr;
    sound: AudioMgr;
    res: ResMgr;
    hot: HotMgr;
    scene: SceneMgr;
    config: ConfigMgr;
    http: HttpMgr;
    net: NetMgr;
    model: ModelMgr;
    toast: ToastMgr;
}
window['app'] = new App()
export const app: App = window['app'];


